import App from './App'
import store from '@/store/index.js'
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
uni.$store = store
App.mpType = 'app'
const app = new Vue({
	store,
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif

import uView from '@/uni_modules/uview-ui'
Vue.use(uView)

import auth from 'common/token.js'
Vue.use(auth)
import httpApi from 'common/http.api.js'
Vue.use(httpApi)
import html from 'common/html.js'
Vue.use(html)
import platform from 'common/platform.js'
Vue.use(platform)
import wxpay from 'common/wxpay.js'
Vue.use(wxpay)
import numFilter from 'common/numFilter.js'
Vue.use(numFilter)